package oop5.pc;

public class Intel implements Cpu {
    private String brand = "Intel";
    private double zhuPin;   //主频

    public Intel(double zhuPin) {
        this.zhuPin = zhuPin;
    }

    @Override
    public void show() {
        System.out.println("cpu的品牌是：" + brand + ",主频是：" + zhuPin + "GHz");
    }

    public String getBrand() {
        return brand;
    }

    public double getZhuPin() {
        return zhuPin;
    }
}